//登录接口需要携带参数ts的类型
export interface loginForm {
  username: string
  password: string
}
interface dataType {
  token: string
}
//登录接口返回的数据的类型
export interface LoginResponData {
  code: number
  data: dataType
}
interface userInfo {
  userId: number
  avater: string
  username: string
  password: string
  desc: string
  roles: string[]
  button: string[]
  routes: string[]
  token: string
}
interface user {
  checkUser: userInfo
}
//返回用户相关信息的数据
export interface userRespondata {
  code: number
  data: user
}
